package model

type AuMenu struct {
	Id        int    `xorm:"not null pk autoincr INT(11)"`
	ParentId  int    `xorm:"not null index INT(11)"`
	Name      string `xorm:"not null VARCHAR(50)"`
	Model     string `xorm:"not null index CHAR(100)"`
	Action    string `xorm:"not null CHAR(20)"`
	Extra     string `xorm:"not null CHAR(50)"`
	Type      int    `xorm:"not null default 0 TINYINT(1)"`
	Status    int    `xorm:"not null default 0 index TINYINT(1)"`
	Listorder int    `xorm:"not null default 0 SMALLINT(6)"`
	Rules     string `xorm:"not null CHAR(50)"`
}
